package com.rupertjones.globalcron.domain;

import org.apache.log4j.Logger;

public class ReloadingConfigurationJob {
    private static final Logger LOG = Logger.getLogger(ReloadingConfigurationJob.class);
    private GlobalCronScheduler scheduler;

    public ReloadingConfigurationJob(GlobalCronScheduler scheduler) {
        this.scheduler = scheduler;
    }

    public void execute() {
        scheduler.adjustForModifications();
    }
}
